package com.sc.nft.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.DaoEcologyPointsDetailRecordsTypeEnum;
import com.sc.nft.enums.EcologyHatchShareProfitStatus;
import com.sc.nft.enums.EcologyHatchShareProfitTypeEnum;
import com.sc.nft.sup.SuperEntity;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 生态-DAO分润结算记录表(sc_ecology_hatch_share_profit)实体类
 *
 * @author Sun
 * @description 由 Mybatisplus Code Generator 创建
 * @since 2023-12-06 18:48:04
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_ecology_hatch_share_profit")
public class EcologyHatchShareProfit extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 生态配置id
     */
    private Long userRecordId;
    /**
     * 类型: 1:分享收益 2:平台分红池 3:DAO分红池 4:风控池 5:技术服务费 6:双方分账 7:市值管理
     */
    private EcologyHatchShareProfitTypeEnum type;
    /**
     * 类型名称
     */
    private String typeName;
    /**
     * 藏品id
     */
    private Long collectionId;
    /**
     * DAOId
     */
    private Long daoId;
    /**
     * 分配比例
     */
    private BigDecimal distributionScale;
    /**
     * 分配金额
     */
    private BigDecimal distributionPoints;
    /**
     * DAO分成比例
     */
    private BigDecimal daoDivideIntoScale;
    /**
     * DAO分成金额
     */
    private BigDecimal daoDivideIntoPoints;
    /**
     * 系统回收
     */
    private BigDecimal systemForfeiture;
    /**
     * 结算时间
     */
    private Date settleTime;
    /**
     * 结算时间
     */
    private Long settleTimeStamp;
    /**
     * 结算状态  0: 初始值 1:待处理  2:处理成功 3:处理失败
     */
    private EcologyHatchShareProfitStatus settleStatus;

    /**
     * dao市值池子ID
     */
    private Long marketManagementDaoPoolId;

}